package cn.lintcode.console;

import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;

/**
 * @author labvi
 * @version 1.0.0
 */
public class ScanerTest {
    public static int[][] bufferedRead(String input) {
        Scanner scanner = new Scanner(new BufferedInputStream(System.in));
        scanner = new Scanner(new BufferedReader(new InputStreamReader(System.in)));

        int n = scanner.nextInt();
        long initTime = System.currentTimeMillis();
        int[][] all = new int[n][];
        for (int i = 0; i < n; i++) {
            int num = scanner.nextInt();
            all[i] = new int[num];
            for (int j = 0; j < num; j++) {
                int value = scanner.nextInt();
                all[i][j] = value;
            }
        }
        long nowTime = System.currentTimeMillis();
        System.out.println((nowTime - initTime));
        return all;
    }


}
